package org.spiderflow.file.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
* 
* @author dyl
* @since 2019-05-19
*/
@Data
@TableName(value = "sp_file")
@ApiModel(value="File对象", description="")
public class File implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "file_id",type = IdType.AUTO)
    private Integer fileId;

    @ApiModelProperty(value = "文件地址")
    private String fileUrl;

    @ApiModelProperty(value = "文件名")
    private String fileName;

    @ApiModelProperty(value = "文件类型 1-图片 2-压缩包")
    private Integer fileType;

    private Integer createId;

    private String createName;

    private String createTime;


}
